<?php

namespace app\common\model\info;
use app\common\model\BaseModel;

class ArticleRecord extends BaseModel
{

    public static function tablePK(): ?string
    {
        return 'record_id';
    }

    public static function tableName(): string
    {
        return 'article_record';
    }


    public function article()
    {
        return $this->hasOne(Article::class,'id','article_id');
    }
}